//======================================================================================
//  Notes:Use this command to anonymously check out the latest project source code:
//  Non-members may check out a read-only working copy anonymously over HTTP.
//  http://YHQCodingWsp.googlecode.com/svn/trunk/
//
//  Author:		Kevin Yang
//  Email:		Bigearrabbit@qq.com
//
//  DATE:		2013-4-22
//
//  File Name:	YHQPluginInterface.h
//
//  Notes:
//
//======================================================================================
#ifndef YHQPluginInterface_H
#define YHQPluginInterface_H
//YHQCodingCore Library
#include "YHQDockWidget.h"


//QT include
#include <QString>
#include <QObject>

//pre-declare
#define YHQPluginInterface_IID "com.yhh.plugin.YHQPluginInterface/1.0"

/// <summary>YHQ DockWidget</summary>
/// <author>Kevin Yang</author>
/// <date>2013-4-22</date>
class YHQPluginInterface
{
    
public:

   virtual ~YHQPluginInterface(){}


public:

    /// <summary>Load Plugin</summary>
    /// <param name="opErrMsg">output string</param>
    /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-22</date>
    virtual YHQDockWidget * LoadYHQDockWidget(QString * opErrMsg = NULL) = 0;
};
Q_DECLARE_INTERFACE(YHQPluginInterface,YHQPluginInterface_IID)

#endif // YHQPluginInterface_H
